package com.googlecode.tapestry5validator.hibernate.services;

import org.apache.tapestry5.SymbolConstants;
import org.apache.tapestry5.ioc.MappedConfiguration;
import org.apache.tapestry5.ioc.ServiceBinder;
import org.apache.tapestry5.ioc.annotations.SubModule;

import com.googlecode.tapestry5validator.hibernate.TapestryHibernateValidatorModule;

@SubModule(TapestryHibernateValidatorModule.class)
public class AppModule {
	
    public static void bind(ServiceBinder binder) {
    	
    }
    
    public static void contributeApplicationDefaults(
            MappedConfiguration<String, String> configuration) {
    	
        configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en");
        configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
    }
    


}
